using System;
using System.IO;

namespace CloudClip.HelperMehtod
{
    public static class LoggerHelper
    {
        public static void WriteDebugLog(string sMsg)
        {
#if DEBUG
            string sPath = 
                Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"DebubLog.txt");

            using (StreamWriter streamWriter = new StreamWriter(sPath, true))
            {
                streamWriter.WriteLine(sMsg + " --- " + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss"));
            }
#endif
        }
    }
}
